package com.hygj.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * 角色
 * 
 * @author admin
 *
 */
public class Role {

	private Integer rid;// 角色id
	private String role_name;// 角色名称
	private String role_description;// 角色描述
	List<Auth> listAuths = new ArrayList<>();// 一个角色可以有多个菜单权限

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public String getRole_description() {
		return role_description;
	}

	public void setRole_description(String role_description) {
		this.role_description = role_description;
	}

	public List<Auth> getListAuths() {
		return listAuths;
	}

	public void setListAuths(List<Auth> listAuths) {
		this.listAuths = listAuths;
	}

	@Override
	public String toString() {
		return "Role [rid=" + rid + ", role_name=" + role_name + ", role_description=" + role_description
				+ ", listAuths=" + listAuths + ", getRid()=" + getRid() + ", getRole_name()=" + getRole_name()
				+ ", getRole_description()=" + getRole_description() + ", getListAuths()=" + getListAuths()
				+ ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString()
				+ "]";
	}

}
